<!--
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-19 16:10:43
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-21 12:29:19
-->
<template>
    <div class="seabtn">
        <el-button type="primary" @click="openDialog">新增</el-button>
        <el-button type="primary" @click="exposeExcelCustomer">导出</el-button>
        <el-button type="success" @click="importExcelCustomer">导入</el-button>
        <el-button type="warning">领取</el-button>
    </div>
</template>

<script setup lang="ts">
import { ref, defineProps, defineEmits } from 'vue';

const emit = defineEmits(['openDialogFrom', "exposeCustomer", "importCustomer"])
//弹出新增
const openDialog = () => {
    emit('openDialogFrom', true)
};
// 导出数据
const exposeExcelCustomer = () => {
    emit('exposeCustomer', true)
}
// 导入数据
const importExcelCustomer = () => {
    emit('importCustomer', true)
}
</script>

<style lang="scss" scoped>
.seabtn {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    .el-button {
        margin-left: 23px;
    }
}
</style>